package com.tuanzi.loan.business.service.family;

import com.tuanzi.loan.business.entity.family.LoanNewCreditCardOrder;
import com.tuanzi.loan.business.entity.family.LoanNewCreditCardRebate;
import com.tuanzi.loan.core.service.CommonService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.family.LoanNewCreditCardOrderRequest;
import com.tuanzi.loan.vo.response.family.LoanNewCreditCardOrderResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-09-13 13:47
 */
public interface LoanNewCreditCardOrderService extends CommonService<LoanNewCreditCardOrder,Long> {
    Page<LoanNewCreditCardOrderResponse> list(PageSearcher<LoanNewCreditCardOrderRequest> pageSearcher);

    void onImportRebate(List<LoanNewCreditCardRebate> rebateList) throws Exception;

}
